Jesus who ever he was, was suffering from what psychologist term : Messiah Complex, that got blown out of proportion in stories that were written about him after he was long gone. But that being said all this talk about forgiving your enemies, loving your neighbor, not judging people, that supposedly came from JC does not match up with the old testament and is completely out of harmony with the personality of the old testament Deity. Perhaps along with his psychological problem of imagining he is some type of Son of God savior we can also add that he suffered from severe Compartmentalization when it came to his imagining God to be this extremely good guy.
https://en.wikipedia.org/wiki/Messiah_complex
A messiah complex (also known as the Christ complex or savior complex) is a state of mind in which an individual holds a belief that they are, or are destined to become, a savior.[1]
The term "messiah complex" is not addressed in the Diagnostic and Statistical Manual of Mental Disorders (DSM), as it is not a clinical term nor diagnosable disorder, however, the symptoms of the disorder closely resemble those found in individuals suffering from grandiose delusions or delusions of grandeur. This form of delusional belief is most often reported in patients suffering from bipolar disorder and schizophrenia. When a messiah complex is manifested within a religious individual after a visit to Jerusalem, it may be identified as a psychosis known as Jerusalem syndrome.[2]